import {
	kgRequest
} from "../../config/request";

export function douYinLoginApi({
	code,
	encryptedData,
	iv
}) {
	return kgRequest.post({
		url: '/user/douYinLogin',
		data: {
			code,
			encryptedData,
			iv
		}
	})
}

export function wxLoginApi({
	code,
	encryptedData,
	iv
}) {
	return kgRequest.post({
		url: '/user/wxLogin',
		data: {
			code,
			encryptedData,
			iv
		}
	})
}